/*
 * OrganMapper.java
 *
 * Copyright 2012 the original author or authors(ninglong).
 *
 * Licensed under the org.geek.organ.mapper, Version 1.0 (the "License");
 *
 */
package org.geek.organ.mapper;

import java.util.List;

import org.geek.common.entity.Criteria;
import org.geek.common.util.MyBatisUtil;
import org.geek.domain.Organ;

/**
 * <p></p>
 * @author ninglong bhd2973@qq.com
 * @version V1.0
 */
@MyBatisUtil
public interface OrganMapper {
	
	int countOrganByCriteria(Criteria criteria);
	
	List<Organ> getOrganByCriteria(Criteria criteria);
	
	int modOrgan(Organ organ);
	
	int addOrgan(Organ organ);
	
	int delOrganByOrganId(int organId);
}
